﻿using System;
using System.Text;
using System.Collections.Generic;
using System.Data;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Extentions;

namespace TrainingReminderSystem.Model
{
    /// <summary>
    /// 权限
    /// </summary>
    [ExLanguageKey("SysPower")]
    public partial class SysPowerExPart
    {
        /// <summary>
        /// 权限ID
        /// </summary>
        [ExLanguageKey("SysPowerID")]
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.None)]
        public int? SysPowerID { get; set; }

        /// <summary>
        /// 权限类型;菜单=0,按钮=1,特殊权限=2
        /// </summary>
        [ExLanguageKey("EnumPowerType")]
        public EnumPowerType? EnumPowerType { get; set; }

        /// <summary>
        /// 权限名称
        /// </summary>
        [ExLanguageKey("SysPowerName")]
        public string SysPowerName { get; set; }
    }
}
